﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddorEditBase.aspx.cs"
    Inherits="kim.sys_config" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>发布资讯</title>
    <link rel="stylesheet" type="text/css" href="../img/style.css" />
    <link href="../../kim/style/css.css" rel="stylesheet" type="text/css" />
    <script src="../../kim/scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <b>您当前的位置：首页 &gt;
            <asp:Label ID="labtitle" runat="server" Text=""></asp:Label>
            &gt; 信息修改</b>
    </div>
    <div id="contentTab">
        <ul class="tab_nav">
            <li class="selected"><a onclick="tabs('#contentTab',0);" href="javascript:;">网站基本信息</a></li>
            <%--<li><a onclick="tabs('#contentTab',1);" href="javascript:void(0);">功能权限配置</a></li>
            <li><a onclick="tabs('#contentTab',2);" href="javascript:void(0);">附件配置</a></li>--%>
        </ul>
        <div class="tab_con" style="display: block;">
            <table class="form_table">
                <col width="180px">
                <col>
                <tbody>
                    <tr>
                        <th>
                            站点名称：
                        </th>
                        <td>
                            <asp:TextBox ID="webname" runat="server" CssClass="txtInput normal required" MaxLength="100"></asp:TextBox><label>*</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            LOGO:
                        </th>
                        <td>
                            <img id="Headpic" runat="server" src="" width="200" alt="" style="float: left" />
                            <asp:HiddenField ID="txtImgUrl_max" runat="server" />
                            <asp:HiddenField ID="txtImgUrl_min" runat="server" />
                            <a href="javascript:;" class="files">
                                <input type="file" id="FileUpload" name="FileUpload" onchange="Upload('SingleFile', 'txtImgUrl_max', 'FileUpload');" /></a>
                            <span class="uploading">正在上传，请稍候...</span>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            公司名称：
                        </th>
                        <td>
                            <asp:TextBox ID="webcompany" runat="server" CssClass="txtInput normal required" MaxLength="100"></asp:TextBox><label>*</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            网站域名：
                        </th>
                        <td>
                            <asp:TextBox ID="weburl" runat="server" CssClass="txtInput normal required url" MaxLength="250"></asp:TextBox><label>*以“http://”开头</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            联系电话：
                        </th>
                        <td>
                            <asp:TextBox ID="webtel" runat="server" CssClass="txtInput normal" MaxLength="50"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            传真号码：
                        </th>
                        <td>
                            <asp:TextBox ID="webfax" runat="server" CssClass="txtInput normal" MaxLength="50"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            网站备案号：
                        </th>
                        <td>
                            <asp:TextBox ID="webcrod" runat="server" CssClass="txtInput normal" MaxLength="50"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            首页标题(SEO)：
                        </th>
                        <td>
                            <asp:TextBox ID="webtitle" runat="server" CssClass="txtInput normal required" MaxLength="250"
                                Style="width: 350px;"></asp:TextBox><label>*自定义的首页标题</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            页面关健词(SEO)：
                        </th>
                        <td>
                            <asp:TextBox ID="webkeyword" runat="server" CssClass="txtInput" MaxLength="250" Style="width: 350px;"></asp:TextBox>
                            <label>
                                页面关键词(keyword)</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            页面描述(SEO)：
                        </th>
                        <td>
                            <asp:TextBox ID="webdescription" runat="server" MaxLength="250" TextMode="MultiLine"
                                CssClass="small"></asp:TextBox>
                            <label>
                                页面描述(description)</label>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="tab_con">
            <table class="form_table">
                <col width="180px">
                <col>
                <tbody>
                    <tr>
                        <th>
                            网站安装目录：
                        </th>
                        <td>
                            <asp:TextBox ID="webpath" runat="server" CssClass="txtInput normal required" MaxLength="100">/</asp:TextBox><label>*根目录下，输入“/”；如：http://abc.com/web，输入“web/”</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            网站管理目录：
                        </th>
                        <td>
                            <asp:TextBox ID="webmanagepath" runat="server" CssClass="txtInput normal required"
                                minlength="2" MaxLength="100">admin</asp:TextBox><label>*默认是admin，如已经更改，请输入目录名</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            是否关闭网站：
                        </th>
                        <td>
                            <asp:RadioButtonList ID="webstatus" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                <asp:ListItem Value="0">关闭</asp:ListItem>
                                <asp:ListItem Selected="True" Value="1">开启</asp:ListItem>
                            </asp:RadioButtonList>
                            <label>
                            </label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            关闭原因描述：
                        </th>
                        <td>
                            <asp:TextBox ID="webclosereason" runat="server" MaxLength="500" TextMode="MultiLine"
                                CssClass="small"></asp:TextBox><label>支持HTML格式</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            网站统计代码：
                        </th>
                        <td>
                            <asp:TextBox ID="webcountcode" runat="server" MaxLength="500" TextMode="MultiLine"
                                CssClass="small"></asp:TextBox><label>支持HTML格式</label>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="tab_con">
            <table class="form_table">
                <col width="180px">
                <col>
                <tbody>
                    <tr>
                        <th>
                            附件上传目录：
                        </th>
                        <td>
                            <asp:TextBox ID="attachpath" runat="server" CssClass="txtInput normal required" minlength="2"
                                MaxLength="100">upload</asp:TextBox><label>*上传图片或附件的目录，自动创建在网站根目录下</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            附件上传类型：
                        </th>
                        <td>
                            <asp:TextBox ID="attachextension" runat="server" CssClass="txtInput normal required"
                                MaxLength="250"></asp:TextBox><label>*以英文的逗号分隔开，如：“jpg,gif,rar”</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            附件保存方式：
                        </th>
                        <td>
                            <asp:DropDownList ID="attachsave" runat="server" CssClass="select2">
                                <asp:ListItem Value="1">按年月日每天一个目录</asp:ListItem>
                                <asp:ListItem Value="2">按年月/日/存入不同目录</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            文件上传大小：
                        </th>
                        <td>
                            <asp:TextBox ID="attachfilesize" runat="server" CssClass="txtInput small required number"
                                MaxLength="10"></asp:TextBox>KB<label>*超过设置的文件大小不予上传，0不限制</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            图片上传大小：
                        </th>
                        <td>
                            <asp:TextBox ID="attachimgsize" runat="server" CssClass="txtInput small required number"
                                MaxLength="10"></asp:TextBox>KB<label>*超过设置的图片大小不予上传，0不限制</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            图片最大尺寸：
                        </th>
                        <td>
                            <asp:TextBox ID="attachimgmaxheight" runat="server" CssClass="txtInput small2 required digits"
                                MaxLength="10">0</asp:TextBox>×
                            <asp:TextBox ID="attachimgmaxwidth" runat="server" CssClass="txtInput small2 required digits"
                                MaxLength="10">0</asp:TextBox>px
                            <label>
                                *设置图片高和宽，超出自动裁剪，0为不受限制</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            生成缩略图大小：
                        </th>
                        <td>
                              <asp:TextBox ID="thumbnailheight" runat="server" CssClass="txtInput small2 required digits"
                                MaxLength="10">0</asp:TextBox>×
                            <asp:TextBox ID="thumbnailwidth" runat="server" CssClass="txtInput small2 required digits"
                                MaxLength="10">0</asp:TextBox>px
                            <label>
                                *图片生成缩略图高和宽，0为不生成</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            生成缩略图模式：
                        </th>
                        <td>
                         <asp:DropDownList ID="DdlMode" runat="server" CssClass="select2">
                                <asp:ListItem Value="HW" Selected="True">指定高宽缩放（可能变形)</asp:ListItem>
                                <asp:ListItem Value="W">指定宽，高按比例</asp:ListItem>
                                <asp:ListItem Value="H">指定高，宽按比例</asp:ListItem>
                                <asp:ListItem Value="Cut">指定高宽裁减（不变形）</asp:ListItem>
                            </asp:DropDownList>
                         
                        </td>
                    </tr>
                    <tr>
                        <th>
                            图片水印类型：
                        </th>
                        <td>
                            <asp:RadioButtonList ID="watermarktype" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                                <asp:ListItem Value="0" Selected="True">关闭水印 </asp:ListItem>
                                <asp:ListItem Value="1">文字水印 </asp:ListItem>
                                <asp:ListItem Value="2">图片水印 </asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            图片水印位置：
                        </th>
                        <td>
                            <asp:RadioButtonList ID="watermarkposition" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                                <asp:ListItem Value="1">左上 </asp:ListItem>
                                <asp:ListItem Value="2">中上 </asp:ListItem>
                                <asp:ListItem Value="3">右上 </asp:ListItem>
                                <asp:ListItem Value="4">左中 </asp:ListItem>
                                <asp:ListItem Value="5">居中 </asp:ListItem>
                                <asp:ListItem Value="6">右中 </asp:ListItem>
                                <asp:ListItem Value="7">左下 </asp:ListItem>
                                <asp:ListItem Value="8">中下 </asp:ListItem>
                                <asp:ListItem Value="9" Selected="True">右下 </asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            图片生成质量：
                        </th>
                        <td>
                            <asp:TextBox ID="watermarkimgquality" runat="server" CssClass="txtInput small required digits"
                                MaxLength="3">80</asp:TextBox><label>*只适用于加水印的jpeg格式图片.取值范围 0-100, 0质量最低, 100质量最高, 默认80</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            图片水印文件：
                        </th>
                        <td>
                            <asp:TextBox ID="watermarkpic" runat="server" CssClass="txtInput normal required"
                                MaxLength="100">watermark.png</asp:TextBox><label>*需存放在站点目录下，如图片不存在将使用文字水印</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            水印透明度：
                        </th>
                        <td>
                            <asp:TextBox ID="watermarktransparency" runat="server" CssClass="txtInput small required digits"
                                MaxLength="2" max="10">5</asp:TextBox><label>*取值范围1--10 (10为不透明)</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            水印文字：
                        </th>
                        <td>
                            <asp:TextBox ID="watermarktext" runat="server" CssClass="txtInput normal required"
                                MaxLength="100"></asp:TextBox><label>*文字水印的内容</label>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            文字字体：
                        </th>
                        <td>
                            <asp:DropDownList ID="watermarkfont" runat="server" CssClass="select2">
                                <asp:ListItem Value="Arial">Arial</asp:ListItem>
                                <asp:ListItem Value="Arial Black">Arial Black</asp:ListItem>
                                <asp:ListItem Value="Batang">Batang</asp:ListItem>
                                <asp:ListItem Value="BatangChe">BatangChe</asp:ListItem>
                                <asp:ListItem Value="Comic Sans MS">Comic Sans MS</asp:ListItem>
                                <asp:ListItem Value="Courier New">Courier New</asp:ListItem>
                                <asp:ListItem Value="Dotum">Dotum</asp:ListItem>
                                <asp:ListItem Value="DotumChe">DotumChe</asp:ListItem>
                                <asp:ListItem Value="Estrangelo Edessa">Estrangelo Edessa</asp:ListItem>
                                <asp:ListItem Value="Franklin Gothic Medium">Franklin Gothic Medium</asp:ListItem>
                                <asp:ListItem Value="Gautami">Gautami</asp:ListItem>
                                <asp:ListItem Value="Georgia">Georgia</asp:ListItem>
                                <asp:ListItem Value="Gulim">Gulim</asp:ListItem>
                                <asp:ListItem Value="GulimChe">GulimChe</asp:ListItem>
                                <asp:ListItem Value="Gungsuh">Gungsuh</asp:ListItem>
                                <asp:ListItem Value="GungsuhChe">GungsuhChe</asp:ListItem>
                                <asp:ListItem Value="Impact">Impact</asp:ListItem>
                                <asp:ListItem Value="Latha">Latha</asp:ListItem>
                                <asp:ListItem Value="Lucida Console">Lucida Console</asp:ListItem>
                                <asp:ListItem Value="Lucida Sans Unicode">Lucida Sans Unicode</asp:ListItem>
                                <asp:ListItem Value="Mangal">Mangal</asp:ListItem>
                                <asp:ListItem Value="Marlett">Marlett</asp:ListItem>
                                <asp:ListItem Value="Microsoft Sans Serif">Microsoft Sans Serif</asp:ListItem>
                                <asp:ListItem Value="MingLiU">MingLiU</asp:ListItem>
                                <asp:ListItem Value="MS Gothic">MS Gothic</asp:ListItem>
                                <asp:ListItem Value="MS Mincho">MS Mincho</asp:ListItem>
                                <asp:ListItem Value="MS PGothic">MS PGothic</asp:ListItem>
                                <asp:ListItem Value="MS PMincho">MS PMincho</asp:ListItem>
                                <asp:ListItem Value="MS UI Gothic">MS UI Gothic</asp:ListItem>
                                <asp:ListItem Value="MV Boli">MV Boli</asp:ListItem>
                                <asp:ListItem Value="Palatino Linotype">Palatino Linotype</asp:ListItem>
                                <asp:ListItem Value="PMingLiU">PMingLiU</asp:ListItem>
                                <asp:ListItem Value="Raavi">Raavi</asp:ListItem>
                                <asp:ListItem Value="Shruti">Shruti</asp:ListItem>
                                <asp:ListItem Value="Sylfaen">Sylfaen</asp:ListItem>
                                <asp:ListItem Value="Symbol">Symbol</asp:ListItem>
                                <asp:ListItem Value="Tahoma" Selected="selected">Tahoma</asp:ListItem>
                                <asp:ListItem Value="Times New Roman">Times New Roman</asp:ListItem>
                                <asp:ListItem Value="Trebuchet MS">Trebuchet MS</asp:ListItem>
                                <asp:ListItem Value="Tunga">Tunga</asp:ListItem>
                                <asp:ListItem Value="Verdana">Verdana</asp:ListItem>
                                <asp:ListItem Value="Webdings">Webdings</asp:ListItem>
                                <asp:ListItem Value="Wingdings">Wingdings</asp:ListItem>
                                <asp:ListItem Value="仿宋_GB2312">仿宋_GB2312</asp:ListItem>
                                <asp:ListItem Value="宋体">宋体</asp:ListItem>
                                <asp:ListItem Value="新宋体">新宋体</asp:ListItem>
                                <asp:ListItem Value="楷体_GB2312">楷体_GB2312</asp:ListItem>
                                <asp:ListItem Value="黑体">黑体</asp:ListItem>
                            </asp:DropDownList>
                            <asp:TextBox ID="watermarkfontsize" runat="server" CssClass="txtInput small2 required digits"
                                MaxLength="10">12</asp:TextBox>px
                            <label>
                                *文字水印的字体和大小</label>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="foot_btn_box">
            <asp:Button ID="btnSubmit" runat="server" Text="提交保存" CssClass="btnSubmit" OnClick="btnSubmit_Click" />
            &nbsp;<input name="重置" type="reset" class="btnSubmit" value="重 置" />
            <asp:Label ID="lblmsg" runat="server" ForeColor="Red"></asp:Label>
        </div>
    </div>
    </form>
    <script src="../../kim/scripts/jquery.form.js" type="text/javascript"></script>
    <script src="../../kim/scripts/function.js" type="text/javascript"></script>
</body>
</html>
